<template>
    <div class="pagination">
      <button>上一页</button>
      <button>1</button>
      <span>...</span>
      <button>6</button>
      <button>7</button>
      <button>8</button>
      <button>9</button>
      <button>10</button>
      <button>···</button>
      <button>23</button>
      <button>下一页</button>
  
      <span>共 96 条</span>
    </div>
  </template>
  
  <script>
  export default {
    name: "Pagination",
  };
  </script>
  
  <style lang="less" scoped>
  .pagination {
    text-align: center;
    button {
      margin: 0 5px;
      background-color: #f4f4f5;
      color: #606266;
      outline: none;
      border-radius: 2px;
      padding: 0 4px;
      vertical-align: top;
      display: inline-block;
      font-size: 13px;
      min-width: 35.5px;
      height: 28px;
      line-height: 28px;
      cursor: pointer;
      box-sizing: border-box;
      text-align: center;
      border: 0;
  
      &[disabled] {
        color: #c0c4cc;
        cursor: not-allowed;
      }
  
      &.active {
        cursor: not-allowed;
        background-color: #C81623;
        color: #fff;
      }
    }
    span{
      display: inline-block;
      line-height: 28px;
      font-size: 14px;
      color:gray;
      vertical-align: middle;
    }
  }
  </style>